package com.jk.bgmainconsumer.service;

import com.jk.bgmainconsumer.entity.AdmEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @描述
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@Component
@FeignClient("bgmainprovider")
public interface AdmService {

    @GetMapping("adm/login/entity")
    Map login(@SpringQueryMap AdmEntity adm);
}
